import 'package:flutter/services.dart';
class AsrBdManager{
  static const MethodChannel _channel=MethodChannel('as_bd_plugin');
  //开始
  static Future<String?> startAsr({Map? params})async{
    return await _channel.invokeMethod('startAsr',params??{});
  }

  //停止
  static Future<String> stopAsr()async{
    return await _channel.invokeMethod('stopAsr');
  }
//取消
  static Future<String> cancelAsr()async{
    return await _channel.invokeMethod('cancelAsr');
  }
}